package winOrDie.Configuration;


import org.w3c.dom.Document;
import org.w3c.dom.Element;

import winOrDie.Util.XML_Manager;

public class WoD_Configuration_Manager {

	
	public static WoD_Configuration get_WoD_Configuration_From_File(String fileName) throws Exception
	{
		XML_Manager xmlManager = new XML_Manager();
		
		Document document = null;
		document = xmlManager.Load_File_into_XML_Document(fileName);
		
		Element element = null;
		element = document.getDocumentElement();
		
		WoD_Configuration woDConfiguration = null;
		woDConfiguration = WoD_Configuration_Editor.get_WoD_Configuration_From_Element(element);
		
		return woDConfiguration;
		
	}
	
}
